package cn.aylog.controller;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:application.xml");
        Computer computer = context.getBean(Computer.class);
        computer.installAll();
        computer.doWork();
    }
}
